﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using hachiModel;

namespace Hachi.Controllers
{
    public class AccountController : BaseController
    {
        public AccountController()
        {
            
        }
        public bool addAccount(CS_Account acc)
        {
            try
            {
                en.AddToCS_Account(acc);
                en.SaveChanges();
                return true;
            }
            catch (Exception)
            {
                return false;
                
            }
        }
        
    }
}